<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

class MechanicFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        $mechanicArr = [
            '电动车',
            '摩托车',
            '小汽车',
            '越野车',
            '商务车',
            '皮卡车',
            '大巴车',
        ];
        return [
            'name' => $this->faker->randomElement($mechanicArr),
        ];
    }
}
